﻿using FI.Dapper.Interfaces;
using FI.BatchJob.DataService.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace FI.BatchJob.DataService
{
    public class OperatelogService: IOperatelogService
    {
        private IRepository _repository;
        public OperatelogService(IRepository repostory)
        {
            _repository = repostory;
        }
        public void AddLog(OperateLog log)
        {
            try
            {
                 
            }
            catch (Exception ex)
            {
                Console.Out.WriteLineAsync(string.Format("插入日志出错：{0}", ex));
            }

        }
    }
    public interface IOperatelogService
    {
        void AddLog(OperateLog log);
    }
}
